import advView from '$v/adv'

export default (req, res, next) => {
    next(advView({
        subRoute: res.subRoute(),
        // 给adv主页传递一个路径,方便在页面进行url比较,进行高亮显示
        url: req.url
    }));
}